package com.kingdee.eas.xr;

import com.kingdee.bos.BOSException;
//import com.kingdee.bos.metadata.*;
import com.kingdee.bos.framework.*;
import com.kingdee.bos.util.*;
import com.kingdee.bos.Context;

import java.lang.String;
import com.kingdee.bos.util.*;
import com.kingdee.eas.common.EASBizException;
import com.kingdee.bos.Context;
import com.kingdee.bos.BOSException;
import com.kingdee.eas.base.permission.UserInfo;
import com.kingdee.jdbc.rowset.IRowSet;
import com.kingdee.bos.framework.*;
import java.util.List;
import java.util.HashSet;

public interface IPublicSQLFacade extends IBizCtrl
{
    public void executeSQLNoResult(String sql, List params) throws BOSException;
    public IRowSet getRowSet(String sql, Object[] params) throws BOSException;
    public IRowSet executeQueryRH(String sql, Object[] params) throws BOSException;
    public IRowSet getBonusPermissions(String adminOrgUnitID) throws BOSException;
    public IRowSet getBonusPermissionsByDept(String summaryOrgId) throws BOSException;
    public IRowSet getSummaryOrgs(String adminUnitOrgId, String positionNumber) throws BOSException;
    public IRowSet getSectorPMPoint(String cycle, boolean onlyImportOrg) throws BOSException;
    public HashSet getUserBonusOrgRange(UserInfo userInfo) throws BOSException, EASBizException;
    public String addMonthsForCycle(int addedMonths, String sourceCycle, boolean isForParams) throws BOSException, EASBizException;
    public HashSet getuserorgrange(UserInfo userInfo) throws BOSException, EASBizException;
}